compile-instrument compiles one or more instruments defined with the class property functions.
In the following example the zone lengths, tonalities, note lengths and velocities are defined for perc and bass instruments. Finally the definitions are compiled with compile-instrument and saved into MIDI files. Notice how the tonality zone lengths are defined with def-zone function.